package com.four.project.dao;

import com.four.project.pojo.Customer;
import org.apache.catalina.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by 54110 on 2020/7/1.
 */
public interface CustomeRepository extends JpaRepository<Customer,Integer> {
    //根据邮箱查询
    Customer findByEmail(String email);
}
